package com.luoluo.pojo;

import com.luoluo.utils.DateUtils;

import java.util.Date;

public class LeaveWord {
    private Integer id;

    private String leaveWord;

    private Integer effective;

    private Date time;

    private String timeStr;

    public String getTimeStr() {
        timeStr = new DateUtils().dateToString(time, "yyyy-MM-dd HH:mm:ss");
        return timeStr;
    }

    private Integer extra1;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLeaveWord() {
        return leaveWord;
    }

    public void setLeaveWord(String leaveWord) {
        this.leaveWord = leaveWord;
    }

    public Integer getEffective() {
        return effective;
    }

    public void setEffective(Integer effective) {
        this.effective = effective;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Integer getExtra1() {
        return extra1;
    }

    public void setExtra1(Integer extra1) {
        this.extra1 = extra1;
    }
}